package ioccontainer;
import java.lang.reflect.InvocationTargetException;


public interface BeanFactory{
	
	public Object getBean(String string) throws ClassNotFoundException, AmbiguityException, InvocationTargetException, IllegalAccessException, InstantiationException, NoSuchMethodException;
	public <T extends Object> T getBean(String string, Class<T> type) throws ClassNotFoundException, AmbiguityException, InvocationTargetException, IllegalAccessException, InstantiationException, NoSuchMethodException; 
	
}